package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.system.domain.*;
import com.ruoyi.system.domain.vo.EasyNumResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface EasyNumMapper extends BaseMapper<EasyNum>
{
  void CreateNum(@Param("easyNum") EasyNum easyNum);
  void insertLog(@Param("user")String user, @Param("title")String title, @Param("result")String result, @Param("time")Date time, @Param("remark")String remark,@Param("statu")String statu);
  UserInfoForSaveIdeas findNickName(String token);
  void saveIdeas(@Param("ideas") Ideas ideas);
   List<Ideas> findIdeasList();
   Integer findUserByToken(@Param("token") String token);
   TotalHistory findHistory(String token);
   List<EasyNumResult> finrResultList(String token);
}
